# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=blackarch-config-bash
pkgver=11.b2b10c8
pkgrel=2
pkgdesc='BlackArch config for the bash shell.'
arch=('any')
groups=('blackarch-config')
url='https://github.com/BlackArch/blackarch-config-bash'
license=('custom:unknown')
depends=('bash')
makedepends=('git')
source=('git+https://github.com/BlackArch/blackarch-config-bash.git')
sha512sums=('SKIP')
install="$pkgname.install"

pkgver() {
  cd $pkgname

  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
  cd $pkgname

  install -dm 755 "$pkgdir/usr/share/blackarch/config/bash"

  cp -a bashrc bash_profile "$pkgdir/usr/share/blackarch/config/bash/"
}

